<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
	<head>
		<base href="<%=basePath%>"/>
		<meta charset="utf-8" />
		<title>Document</title>
		<style type="text/css">
			form{
				width:320px;
				margin:0px auto;
			}
			div{
				overflow:hidden;
			}
			div p{
				float:left;
			}
			div.type input{
				margin-top:18px;
			}
			div.miaoshu input{
				line-height:22px;
			}
			div input{
				margin-top:13px;
			}
			.button{
				margin-left:30px;
			}
			.button input{
				margin-top:20px;
				color:#fff;
				background-color:#B87354;
				padding-right:10px;
				cursor: pointer;
				border:0px;
				border-radius:5px;
				width:80px;
				height:30px;			
			}
			.button input:hover{
				background-color: #AA895E;
			}
		</style>
		
		
		
	</head>
	<body>
	<%@ include file="/HT/login_control.jsp" %>
			<h1 style="text-align: center">添加轮播图</h1>
			<form action="addlunbo.shtml" method="post" enctype="multipart/form-data">
				<div class="miaoshu">
					<p>描述：</p>
					<input type="text" name="miaoshu">
				</div>
				
				<div class="type">
					<p>显示状态：</p>
					<input type="radio" name="type" value="0">未显示
    				<input type="radio" name="type" value="1">已显示
				</div>
				<div class="picture">
					<p>缩略图：</p>
					<input type="file" name="image">
				</div>
				<div class="button">
    				<input type="submit" value="添加">&emsp;&emsp;<input type="reset" value="重置">
    			</div>
			</form>
	</body>
</html>
